
import request from '@/utils/request'

// 账号密码登录
export function sendSmsCode(data) {
  return request({
    url: '/common/api/sendSmsCode',
    method: 'post',
    data
  })
}


// 获取省市区
export function getCity(data) {
  return request({
    url: '/common/api/getCity',
    method: 'post',
    data
  })
}

// 轮播图
export function getBanner(data) {
  return request({
    url: '/common/api/getBanner',
    method: 'post',
    data
  })
}


// 会员信息列表
export function getVipList(data) {
  return request({
    url: '/equipment/vip/vipList',
    method: 'post',
    data
  })
}

// 开通/续费会员
export function openVip(data) {
  return request({
    url: '/equipment/vip/openVip',
    method: 'post',
    data
  })
}

